﻿using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuickTuner
{
    public static class FrameworkExtensions
    {
        // a map function
        public static void Map<T>(this IEnumerable<T> @enum, Action<T> mapFunction)
        {
            foreach (var item in @enum) mapFunction(item);
        }

        // shorthand for string.Format
        public static string F(this string @string, params object[] args)
        {
            return string.Format(@string, args);
        }
    }


}
